3.83 \(\int \cos (a+b x) \sin ^4(a+b x) \, dx\)

Optimal. Leaf size=15 \[ \frac{\sin ^5(a+b x)}{5 b} \]

[Out]

Sin[a + b*x]^5/(5*b)

________________________________________________________________________________________

Rubi [A]  time = 0.0176357, antiderivative size = 15, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {2564, 30} \[ \frac{\sin ^5(a+b x)}{5 b} \]

Antiderivative was successfully verified.

[In]

Int[Cos[a + b*x]*Sin[a + b*x]^4,x]

[Out]

Sin[a + b*x]^5/(5*b)

Rule 2564

Int[cos[(e_.) + (f_.)*(x_)]^(n_.)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_.), x_Symbol] :> Dist[1/(a*f), Subst[Int[
x^m*(1 - x^2/a^2)^((n - 1)/2), x], x, a*Sin[e + f*x]], x] /; FreeQ[{a, e, f, m}, x] && IntegerQ[(n - 1)/2] &&
 !(IntegerQ[(m - 1)/2] && LtQ[0, m, n])

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rubi steps

\begin{align*} \int \cos (a+b x) \sin ^4(a+b x) \, dx &=\frac{\operatorname{Subst}\left (\int x^4 \, dx,x,\sin (a+b x)\right )}{b}\\ &=\frac{\sin ^5(a+b x)}{5 b}\\ \end{align*}

Mathematica [A]  time = 0.0030475, size = 15, normalized size = 1. \[ \frac{\sin ^5(a+b x)}{5 b} \]

Antiderivative was successfully verified.

[In]

Integrate[Cos[a + b*x]*Sin[a + b*x]^4,x]

[Out]

Sin[a + b*x]^5/(5*b)

________________________________________________________________________________________

Maple [A]  time = 0.003, size = 14, normalized size = 0.9 \begin{align*}{\frac{ \left ( \sin \left ( bx+a \right ) \right ) ^{5}}{5\,b}} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(cos(b*x+a)*sin(b*x+a)^4,x)

[Out]

1/5*sin(b*x+a)^5/b

________________________________________________________________________________________

Maxima [A]  time = 0.986536, size = 18, normalized size = 1.2 \begin{align*} \frac{\sin \left (b x + a\right )^{5}}{5 \, b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(b*x+a)*sin(b*x+a)^4,x, algorithm="maxima")

[Out]

1/5*sin(b*x + a)^5/b

________________________________________________________________________________________

Fricas [B]  time = 1.56526, size = 81, normalized size = 5.4 \begin{align*} \frac{{\left (\cos \left (b x + a\right )^{4} - 2 \, \cos \left (b x + a\right )^{2} + 1\right )} \sin \left (b x + a\right )}{5 \, b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(b*x+a)*sin(b*x+a)^4,x, algorithm="fricas")

[Out]

1/5*(cos(b*x + a)^4 - 2*cos(b*x + a)^2 + 1)*sin(b*x + a)/b

________________________________________________________________________________________

Sympy [A]  time = 2.02707, size = 20, normalized size = 1.33 \begin{align*} \begin{cases} \frac{\sin ^{5}{\left (a + b x \right )}}{5 b} & \text{for}\: b \neq 0 \\x \sin ^{4}{\left (a \right )} \cos{\left (a \right )} & \text{otherwise} \end{cases} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(b*x+a)*sin(b*x+a)**4,x)

[Out]

Piecewise((sin(a + b*x)**5/(5*b), Ne(b, 0)), (x*sin(a)**4*cos(a), True))

________________________________________________________________________________________

Giac [A]  time = 1.14989, size = 18, normalized size = 1.2 \begin{align*} \frac{\sin \left (b x + a\right )^{5}}{5 \, b} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(cos(b*x+a)*sin(b*x+a)^4,x, algorithm="giac")

[Out]

1/5*sin(b*x + a)^5/b